home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / qw12inst.zip / PROTECT.TEC < prev    next >
Text File  |  1991-03-12  |  2KB  |  55 lines

  1. ID:PT Protection Level Explanation
  2. Quarterdeck Technical Note #120
  3. by Stan Young
  4.  
  5. Q: What is the "Protection level" field in Change a Program used  
  6.    for?
  7.  
  8. Q: Why does my program run slower when I use protection level?
  9.  
  10. Q: Will Protection level "fix" my ill-behaved programs?
  11.  
  12. Q: What does Protection level do on my 286?
  13.  
  14.  Protection Level
  15.  
  16. The "Protection level" field of Change a Program can be changed
  17. on any machine running DESQview, but only becomes active on 386
  18. machines.
  19.  
  20. Protection level uses the paging capability of the 386 to trap
  21. programs which perform operations outside of their normal memory
  22. space or which use interrupts in unconventional and potentially
  23. destructive ways.  Such operations could be considered
  24. "ill-behaved," and might be symptomatic of programs which are in
  25. the process of crashing the system.
  26.  
  27. Protection level has no ability to correct such ill behavior on
  28. the part of programs.  It exists in order to protect the rest of
  29. the system from a crashing program and to report on what the
  30. program did.
  31.  
  32. It is also common that programs that generate "Protection" errors
  33. are doing things that may be non-destructive and legitimate. 
  34. DESQview has no way to evaluate the specific reasons why a
  35. program may have written outside its memory space, only that it
  36. has done so.  Normally, for programs that have proven to be
  37. reliable, you should keep Protection level set to zero.  Higher
  38. numbers, particularly 2 and 3, will tend to slow programs down
  39. due to the overhead of trapping memory access outside the
  40. program's partition.
  41.  
  42. Protection level is primarily provided for use with programs that
  43. have proven to be unreliable while running in DESQview.  Setting
  44. protection level for these programs should usually prevent them
  45. from bringing down the system and the messages produced when the
  46. protection error is trapped may serve to suggest to the developer
  47. of the program what they might be doing wrong.
  48.  
  49. The specifics of the program operations that are trapped at
  50. different levels of protection are proprietary to Quarterdeck,
  51. but in general, the higher the number, the more "ill-behaved"
  52. operations will be trapped and examined.
  53.  
  54.           Copyright (C) 1991 by Quarterdeck Office Systems
  55.